@layout("/common/_container.html",{js:["/assets/memberSpecs/memberSpecs_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="memberSpecsForm" lay-filter="memberSpecsForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">vip名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="vipName" name="vipName" placeholder="请输入vip名称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
               <!-- <div class="layui-form-item">
                    <label class="layui-form-label">vip图片<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="vipPic" name="vipPic" placeholder="请输入vip图片" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>-->
                <div class="layui-form-item">
                    <label class="layui-form-label">vip图片<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="vipPic" name="vipPic" type="hidden" class="layui-input"/>
                        <button type="button" class="layui-btn layui-btn-sm" id="picBtn"><i class="layui-icon"></i>选择图片
                        </button>
                        <div class="layui-upload-list">
                            <img class="layui-upload-img" id="img1" width="92px" height="92px">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">vip等级<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="vipLevel" name="vipLevel" placeholder="请输入vip等级" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">vip金额<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="vipPrice" name="vipPrice" placeholder="请输入vip金额" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">vip购买上限<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="vipLimited" name="vipLimited" placeholder="请输入vip购买上限" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">返佣金额<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="commission" name="commission" placeholder="请输入地推返佣金额" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">返佣金额<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="npCommission" name="npCommission" placeholder="请输入网推返佣金额" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}